package com.copyctrl.campus.portal.dto;

import cn.hutool.json.JSONUtil;
import com.copyctrl.campus.common.domain.User;
import com.copyctrl.model.CampComment;
import lombok.Data;

/**
 * @author:JH
 * @version:1.0
 */
@Data
public class CommentDTO extends CampComment {
    private User userInfo;
    private User pUserInfo;
    public String toJsonStr(){
        return JSONUtil.toJsonStr(this);
    }

}
